package vn.com.aptech.msh.utils;

import java.io.Serializable;
import javax.enterprise.context.RequestScoped;
import javax.inject.Named;
import javax.validation.constraints.NotNull;

/**
 *
 * @author trietto
 */
@Named("credentials")
@RequestScoped
public class Credentials implements Serializable {

    @NotNull
    private String username = "";
    @NotNull
    private String password = "";

    public Credentials() {
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
